package com.wx.twoint;

import cn.hutool.core.util.HexUtil;

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;

/**
 * 二进制
 * int
 * @author wangxun
 * @version 1.0
 * @description: 二进制
 * @date 2020/12/31 11:11 上午
 */
public class IntTest {
    public static void main(String[] args) {
        Socket socket = null;
        try {
            socket = new Socket("192.168.12.127", 8080);
        } catch ( IOException e) {
            e.printStackTrace();
        }finally {
            try {
                socket.close();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    }
}
